Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


PreviousPrevious NextNext

~Andy Asaponelyoopsi 14.Nov.03 12:15 PM a Web browser
Domino Server 6.0.1 All Platforms

Hi all
i want to create add member to group on the server. i have written an agent with lotus script for it.On the save action of a document i am calling this agent thru runagent @ command.Lotus script is running fine without any error but member is not added to the group.I have given editor access and also roles (Groupcreator & GoupModifier)to default user.
this is the script i have written in agent.

Dim session As New NotesSession
Dim WS As New NotesUIWorkspace
Dim adminp As NotesAdministrationProcess
Dim UiDoc As NotesUIDocument
Dim CurDoc As NotesDocument
Dim db As NotesDatabase
Dim gp As String
Dim Memb(1) As String
Set Db=Session.CurrentDatabase

Set adminp = session.CreateAdministrationProcess(db.Server)
Set Uidoc=WS.CurrentDocument
Set CurDoc=UIDoc.Document
noteid$ = adminp.AddGroupMembers(gp , Memb)

HidJobRole & EUserName are the fields in document from which i want to add member in group.

what else can i do for this please help me if you can.


  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS